//
//  CreateOwnViewController.h
//  NotMadLibs
//
//  Created by ebeerman on 11/16/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface CreateOwnViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
    UITableView *tagTable;
    UITextView *textField;
    NSMutableDictionary *types;
    NSArray *typesArray;
    NSString *inputtedTextExternal;
    NSString *inputtedTextInternal;
    UITextField *titleField;
}

@property (nonatomic, retain) IBOutlet UITextView *textField;
@property (nonatomic, retain) IBOutlet NSString *inputtedTextExternal;
@property (nonatomic, retain) IBOutlet NSString *inputtedTextInternal;
@property (nonatomic, retain) IBOutlet UITableView *tagTable;
@property (nonatomic, retain) IBOutlet UITextField *titleField;

-(IBAction)textDoneEditing:(id)sender;
-(void)addToPassagesWithTitle:(NSString*) title andText:(NSString*) text;
-(NSString*)convertText:(NSString*)text;

@end
